package cn.wolfcode.luowowo.search.service;

import cn.wolfcode.luowowo.search.template.TravelTemplate;

import java.util.List;

/**
 * es中游记的搜索任务
 */
public interface ITravelTemplateSearchService {
    /**
     * 添加或保存
     */
    void saveOrUpdate(TravelTemplate template);

    List<TravelTemplate> findByDestName(String destName);
}
